1 Summary: C++ interface for working with XML files
2 Summary(pl.UTF-8): Interfejs C++ do pracy z plikami XML
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.38/%{name}-%{version}.tar.xz
9 # Source0-md5: 36c2c7a8b7a09aa2118c70a0d51bf4b1
10 URL: http://libxmlplusplus.sourceforge.net/
11 BuildRequires: autoconf >= 2.59
12 BuildRequires: automake >= 1:1.11
13 BuildRequires: glibmm-devel >= 2.32.0
14 BuildRequires: libtool >= 2:2.2.6
15 BuildRequires: libxml2-devel >= 1:2.7.3
16 BuildRequires: mm-common >= 0.9.7
17 BuildRequires: pkgconfig
18 BuildRequires: tar >= 1:1.22
20 Requires: glibmm >= 2.32.0
21 Requires: libxml2 >= 1:2.7.3
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 libxml++ is a C++ interface for the libxml XML parser library.
27 %description -l pl.UTF-8
28 libxml++ jest interfejsem C++ do biblioteki libxml.
31 Summary: Header files for libxml++
32 Summary(pl.UTF-8): Pliki nagłówkowe do libxml++
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Requires: glibmm-devel >= 2.32.0
36 Requires: libxml2-devel >= 1:2.7.3
39 Header files for libxml++.
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe do libxml++.
45 Summary: Static libxml++ libraries
46 Summary(pl.UTF-8): Biblioteka statyczna libxml++
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}-%{release}
51 Static libxml++ libraries.
53 %description static -l pl.UTF-8
54 Biblioteka statyczna libxml++.
57 Summary: libxml++ API documentation
58 Summary(pl.UTF-8): Dokumentacja API libxml++
60 %if "%{_rpmversion}" >= "5"
65 libxml++ API documentation.
67 %description apidocs -l pl.UTF-8
68 Dokumentacja API libxml++.
71 Summary: libxml++ - example programs
72 Summary(pl.UTF-8): libxml++ - przykładowe programy
73 Group: Development/Libraries
74 Requires: %{name}-devel = %{version}-%{release}
77 libxml++ - example programs.
79 %description examples -l pl.UTF-8
80 libxml++ - przykładowe programy.
87 --enable-api-exceptions \
92 rm -rf $RPM_BUILD_ROOT
93 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
96 DESTDIR=$RPM_BUILD_ROOT
98 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
100 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxml++-2.6.la
103 rm -rf $RPM_BUILD_ROOT
105 %post -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
109 %defattr(644,root,root,755)
110 %doc AUTHORS ChangeLog NEWS README
111 %attr(755,root,root) %{_libdir}/libxml++-2.6.so.*.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libxml++-2.6.so.2
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_libdir}/libxml++-2.6.so
117 %{_libdir}/libxml++-2.6
118 %{_includedir}/libxml++-2.6
119 %{_pkgconfigdir}/libxml++-2.6.pc
122 %defattr(644,root,root,755)
123 %{_libdir}/libxml++-2.6.a
126 %defattr(644,root,root,755)
127 %{_datadir}/devhelp/books/libxml++-2.6
128 %{_docdir}/%{name}-2.6
131 %defattr(644,root,root,755)
132 %{_examplesdir}/%{name}-%{version}